package edu.sctu.practice.class02.lvchang.abstractClass;

/**
 * Created by Administrator on 2015/9/18.
 */
public class Initail {
    public static void main(String[] args) {

        System.out.println("请输入圆的半径r:");

        Shape x = new Circle();

        x.perimeter();
        x.area();

        System.out.println("***************************");
        System.out.println("请输入长方形的长和宽a b:");

        Shape y = new Rectangle();
        y.perimeter();
        y.area();
    }
}
